package DesignPatern.A11_装饰者模式.A01_基本模式;

/**
 * @Author: Du
 * @Date: 2021/7/30 10:48
 */
public class Decorator extends SchoolReport
{
    private SchoolReport sr;
    
    public Decorator(SchoolReport sr)
    {
        this.sr = sr;
    }
    
    @Override
    public void report()
    {
        this.sr.report();
    }
    
    @Override
    public void sign(String name)
    {
        this.sr.sign(name);
    }
}
